package com.heking.securityapp.entiry;

/**
 * @Author 35574
 * @Date 2021/10/25
 * @Description
 */
public class SerializableA extends SerializableParent {
    private int age;

    public SerializableA() {
    }

    public SerializableA(String name, int age) {
        super(name);
        this.age = age;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "SerializableA{" +
                "name=" + getName() +","+
                "age=" + getAge() +
                '}';
    }
}
